import request from '@/utils/request';
// 公积金办理
// 列表接口
export async function accuAdjustList(params) {
  return request(`/osApi/accuEntryAdj/accuEntAdjPage`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 线下申报
export async function offDeclare(params) {
  return request(`/osApi/accuEntryAdj/underLineDecl`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 申报成功
export async function successDeclare(params) {
  return request(`/osApi/accuEntryAdj/completeDecl`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 取消申报
export async function cancelDeclare(params) {
  return request(`/osApi/accuEntryAdj/cancelDecl`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
//  新增办理备注
export async function accuAdjustAddRemark(params) {
  return request(`/osApi/accuEntryAdj/addAccuAdjRemark`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
// 查看办理备注
export async function accuAdjustRemark(params) {
  return request(`/osApi/accuEntryAdj/listAccuAdjRemark`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function dicList(params) {
  return request(`/osApi/mdm/nmDict/queryDictItemsByCodes`, {
    method: 'POST',
    body: params,
  });
}
export async function accuAdjustDetail(params) {
  return request(`/osApi/accuEntryAdj/accuEntAdjInfo`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}
export async function accuInforDetail(params) {
  return request(`/csApi/empSendCreateService/querySerSetDetail`, {
    method: 'POST',
    body: {
      ...params,
    },
  });
}

// 标记问题人员
export async function signPro(params) {
  return request(`/osApi/problem/accu/signProbFlag`, {
    method: 'POST',
    body: params,
  });
}
// 获取问题人员列表
export async function getProList(params) {
  return request(`/osApi/problem/accu/pageList`, {
    method: 'POST',
    body: params,
  });
}

// 问题人员添加问题反馈
export async function insertProbFdbk(params) {
  return request(`/osApi/problem/accu/insertProbFdbk`, {
    method: 'POST',
    body: params,
  });
}

export async function getProBaseList(params) {
  return request(`/osApi/problem/accu/get`, {
    method: 'POST',
    body: params,
  });
}

// 反馈并取消问题人员标记
export async function cancelProbFlag(params) {
  return request(`/osApi/problem/accu/cancelProbFlag`, {
    method: 'POST',
    body: params,
  });
}
// 修改生效年月
export async function updateZodiacYM(params) {
  return request('/osApi/accuEntryAdj/updateEntryAdjDet', {
    method: 'POST',
    body: params,
  });
}

export async function queryEntryAdjDet(params) {
  return request('/osApi/accuEntryAdj/queryEntryAdjDet', {
    method: 'POST',
    body: params,
  });
}

// 公积金在职办理备注详情
export async function detailRemark(params) {
  return request(`/osApi/accuEntryAdj/listAccuAdjRemark`, {
    method: 'POST',
    body: params,
  });
}

export async function addHdlRemark(params) {
  return request(`/osApi/accuEntryAdj/addAccuAdjRemark`, {
    method: 'POST',
    body: params,
  });
}

export async function getDownInfor(params) {
  return request('/osApi/accuEntryAdj/downloadUpdEntAdjTemp', {
    method: 'POST',
    body: params,
  });
}

export async function uploadFileBatch(params) {
  return request('/osApi/accuEntryAdj/accuEntryAdjImport', {
    method: 'POST',
    body: params,
  });
}
export async function uploadFileModify(params) {
  return request('/osApi/accuEntryAdj/impUpdAccuEntAdj', {
    method: 'POST',
    body: params,
  });
}
